package com.qys.livesMall.product.model;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class H2ProductSkuAttributeDTO {

    @Schema(description = "id")
    @NotNull(message = "id is null")
    private Long id;
    /**
     * 属性名字,不能为空
     */
    @Schema(description = "属性名字")
    @NotNull(message = "属性名字不能为空")
    private String name;

}
